<template>
    <div>
        这是详情统计页面
    </div>
    <el-button type="primary" @click="alertBtn">Alert 提示</el-button>
    <el-alert title="Success alert" type="success" />

    <el-dialog v-model="dialogVisible" title="Tips" width="500" >
        <span>This is a message</span>
        <template #footer>
            <div class="dialog-footer">
                <el-button @click="dialogVisible = false">Cancel</el-button>
                <el-button type="primary" @click="dialogVisible = false">
                    Confirm
                </el-button>
            </div>
        </template>
    </el-dialog>

</template>

<script>

export default {
    data() {
        return {
            message: "这是啥",
            dialogVisible: false
        };
    },
    methods: {
        alertBtn() {
            console.log("详情统计页面点击");
            this.dialogVisible = true
        }
    }
}
</script>